<script setup lang="ts">
import ChannelNav from './components/ChannelNav.vue';
import ArticleList from './components/ArticleList.vue'
// import { ref } from 'vue';
// const channelId=ref(1);
// const updateChannelId=(id:number)=>{
//   channelId.value=id;
// }
</script>

<template>
  <ChannelNav/>
  <ArticleList/>
   <!-- 路由视口 -->
   <router-view />
</template>